package com.jt9003.service.impl;

import com.jt9003.dao.StockInquiryMapper;
import com.jt9003.pojo.StockInquiry;
import com.jt9003.service.StockInquiryService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class StockInquiryServiceImpl implements StockInquiryService {

    @Resource
    private StockInquiryMapper stockInquiryMapper;

    @Override
    public List<StockInquiry> getStockInquiryList(Map param) {
        return stockInquiryMapper.getStockInquiryList(param);
    }

    @Override
    public Integer getStockInquiryCount(Map param) {
        return stockInquiryMapper.getStockInquiryCount(param);
    }

    @Override
    public StockInquiry isDrugs(Map param) {
        return stockInquiryMapper.isDrugs(param);
    }

    @Override
    public Integer updateInventory(Map param) {
        return stockInquiryMapper.updateInventory(param);
    }

    @Override
    public Integer addInventory(Map param) {
        return stockInquiryMapper.addInventory(param);
    }

    @Override
    public List<StockInquiry> excelWrite() {
        return stockInquiryMapper.excelWrite();
    }

    @Override
    public List<StockInquiry> getStockInquiryList2(Map param) {
        return stockInquiryMapper.getStockInquiryList2(param);
    }

    @Override
    public Integer getStockInquiryCount2(Map param) {
        return stockInquiryMapper.getStockInquiryCount2(param);
    }

}
